#ifndef __MOTOR_H
#define __MOTOR_H

#ifdef __cplusplus
extern "C" {
#endif

#include "stm32f10x.h"

#define PWM_MAX 7200
#define PWM_MIN -7200

void Motor_Init(void);
void Motor_SetSpeed(int16_t Speed);
void Motor_Load(int16_t moto1, int16_t moto2);

#ifdef __cplusplus
}
#endif

#endif
